﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace V2TEK.NET.SH.Silverlight.Charts.Core
{
    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="T">T is type of Items[index]</typeparam>
    public interface ILayout<T>
    {
        ObservableCollection<T> Items { get; set; }
        double ContentWidth { get; set; }
        double ContentHeight { get; set; }
        double ViewPortWidth { get; set; }
        double ViewPortHeight { get; set; }
        /// <summary>
        /// 以毫秒为最小刻度
        /// </summary>
        double XPosition { get; set; }
        double YPosition { get; set; }

        event LayoutUpdate OnLayoutUpdate;
    }
}
